import pandas as pd
from src.core.subject_recommendations.generate_subject_recommendations import generate_subject_recommendations

def subject_recommendations():
    try:
        subject_recommendations = pd.read_csv('data/subject_recommendations.csv')
    except:
        generate_subject_recommendations()
        subject_recommendations = pd.read_csv('data/subject_recommendations.csv')
    subject_recommendations['学生ID'] = subject_recommendations['学生ID'].astype(str)
    return subject_recommendations